#ifndef __DECODER_H_
#define __DECODER_H_

pthread_mutex_t peer_decode_mutex;

void init_decoder();
void decode(int sockfd, char *msg, int len);
void parse_node(MNode *curNode);
int can_get_head(RecvData *recvData);

#endif
